 
-----------------------------
Generating Binomial N samples
p =  0.1 N =  10
  
  Generating Binomial Distribution samples.
  Date and time plus nanoseconds
Wed Jun 18 17:56:22 EDT 2014
650681916
  
[1] 0.1
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] 0.0000057 0.0006543 0.0031497 0.0126087
[1] "Relative difference of empirical moments from theoretical ones:"
[1] 0.0000057000 0.0003443684 0.0007126018 0.0010399786
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1] 2.626166e-18 6.429000e-04 1.188499e-03 3.896457e-03
[1] "Relative difference of empirical central moments from theoretical ones (except first):"
[1] 0.0003383684 0.0002688912 0.0003213838
                         test   P.value KS.test
1                  Chi Square 0.2841787  Passed
2            Likelihood Ratio 0.2841787  Passed
3               Freeman-Tukey 0.2784217  Passed
4 Power Divergence (lambda=2) 0.3455877  Passed
[1] 0.1
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] 0.0000057 0.0006543 0.0031497 0.0126087
[1] "Relative difference of empirical moments from theoretical ones:"
[1] 0.0000057000 0.0003443684 0.0007126018 0.0010399786
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1] 2.626166e-18 6.429000e-04 1.188499e-03 3.896457e-03

	One-sample Kolmogorov-Smirnov test

data:  bin.unif
D = 0.0003, p-value = 0.7661
alternative hypothesis: two-sided

